package com.primb.bench.project.home.entity;

import java.util.List;

/**
 * Created by Chen on 2017/7/26.
 * 功能描述：
 */

public class HttpLoanTreeEntity {


    /**
     * success : true
     * msg :
     * data : [{"id":"010000","leafFlag":"0","text":"贷款产品树","lvl":"0","children":[{"id":"11","leafFlag":"0","text":"个人贷款","lvl":"1","children":[{"id":"1110","leafFlag":"0","text":"个人经营性贷款","lvl":"2","children":[{"id":"1110010","leafFlag":"1","text":"个人经营贷款","lvl":"3","leaf":"true"},{"id":"1110020","leafFlag":"1","text":"失业人员小额贷款","lvl":"3","leaf":"true"},{"id":"1110030","leafFlag":"1","text":"商户联保贷款","lvl":"3","leaf":"true"},{"id":"1110040","leafFlag":"1","text":"大学生创业贷款","lvl":"3","leaf":"true"}]},{"id":"1140","leafFlag":"0","text":"个人消费贷款","lvl":"2","children":[{"id":"1140010","leafFlag":"1","text":"公务员综合消费贷款","lvl":"3","leaf":"true"},{"id":"1140020","leafFlag":"1","text":"个人汽车消费贷款","lvl":"3","leaf":"true"},{"id":"1140030","leafFlag":"1","text":"个人住房按揭贷款","lvl":"3","leaf":"true"},{"id":"1140040","leafFlag":"1","text":"个人再交易住房贷款","lvl":"3","leaf":"true"},{"id":"1140050","leafFlag":"1","text":"个人商用房按揭贷款","lvl":"3","leaf":"true"}]},{"id":"1150","leafFlag":"0","text":"个人抵押贷款","lvl":"2","children":[{"id":"1150010","leafFlag":"1","text":"个人网点抵押贷款","lvl":"3","leaf":"true"}]},{"id":"1160","leafFlag":"0","text":"个人质押贷款","lvl":"2","children":[{"id":"1160010","leafFlag":"1","text":"个人质押贷款","lvl":"3","leaf":"true"},{"id":"1160020","leafFlag":"1","text":"个人理财产品质押贷款","lvl":"3","leaf":"true"},{"id":"1160030","leafFlag":"1","text":"个人网上银行质押贷款","lvl":"3","leaf":"true"}]},{"id":"1165","leafFlag":"0","text":"助学贷款","lvl":"2","children":[{"id":"1165010","leafFlag":"1","text":"商业助学贷款","lvl":"3","leaf":"true"},{"id":"1165020","leafFlag":"1","text":"国家助学贷款","lvl":"3","leaf":"true"}]},{"id":"1170","leafFlag":"0","text":"委托贷款","lvl":"2","children":[{"id":"1170010","leafFlag":"1","text":"个人委托贷款","lvl":"3","leaf":"true"}]}]}]}]
     */

    private boolean success;
    private String msg;
    private List<DataBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 010000
         * leafFlag : 0
         * text : 贷款产品树
         * lvl : 0
         * children : [{"id":"11","leafFlag":"0","text":"个人贷款","lvl":"1","children":[{"id":"1110","leafFlag":"0","text":"个人经营性贷款","lvl":"2","children":[{"id":"1110010","leafFlag":"1","text":"个人经营贷款","lvl":"3","leaf":"true"},{"id":"1110020","leafFlag":"1","text":"失业人员小额贷款","lvl":"3","leaf":"true"},{"id":"1110030","leafFlag":"1","text":"商户联保贷款","lvl":"3","leaf":"true"},{"id":"1110040","leafFlag":"1","text":"大学生创业贷款","lvl":"3","leaf":"true"}]},{"id":"1140","leafFlag":"0","text":"个人消费贷款","lvl":"2","children":[{"id":"1140010","leafFlag":"1","text":"公务员综合消费贷款","lvl":"3","leaf":"true"},{"id":"1140020","leafFlag":"1","text":"个人汽车消费贷款","lvl":"3","leaf":"true"},{"id":"1140030","leafFlag":"1","text":"个人住房按揭贷款","lvl":"3","leaf":"true"},{"id":"1140040","leafFlag":"1","text":"个人再交易住房贷款","lvl":"3","leaf":"true"},{"id":"1140050","leafFlag":"1","text":"个人商用房按揭贷款","lvl":"3","leaf":"true"}]},{"id":"1150","leafFlag":"0","text":"个人抵押贷款","lvl":"2","children":[{"id":"1150010","leafFlag":"1","text":"个人网点抵押贷款","lvl":"3","leaf":"true"}]},{"id":"1160","leafFlag":"0","text":"个人质押贷款","lvl":"2","children":[{"id":"1160010","leafFlag":"1","text":"个人质押贷款","lvl":"3","leaf":"true"},{"id":"1160020","leafFlag":"1","text":"个人理财产品质押贷款","lvl":"3","leaf":"true"},{"id":"1160030","leafFlag":"1","text":"个人网上银行质押贷款","lvl":"3","leaf":"true"}]},{"id":"1165","leafFlag":"0","text":"助学贷款","lvl":"2","children":[{"id":"1165010","leafFlag":"1","text":"商业助学贷款","lvl":"3","leaf":"true"},{"id":"1165020","leafFlag":"1","text":"国家助学贷款","lvl":"3","leaf":"true"}]},{"id":"1170","leafFlag":"0","text":"委托贷款","lvl":"2","children":[{"id":"1170010","leafFlag":"1","text":"个人委托贷款","lvl":"3","leaf":"true"}]}]}]
         */

        private String id;
        private String leafFlag;
        private String text;
        private String lvl;
        private List<DataBean> children;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLeafFlag() {
            return leafFlag;
        }

        public void setLeafFlag(String leafFlag) {
            this.leafFlag = leafFlag;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getLvl() {
            return lvl;
        }

        public void setLvl(String lvl) {
            this.lvl = lvl;
        }

        public List<DataBean> getChildren() {
            return children;
        }

        public void setChildren(List<DataBean> children) {
            this.children = children;
        }
    }
}
